﻿#if DEBUG
using System.Web.Optimization;
using McKearney.BundlingTweaks;

// This is done AFTER Global.asax is run
[assembly: WebActivator.PostApplicationStartMethod(
    typeof($rootnamespace$.App_Start.McKearney_BundlingTweaks), "PostStart")]

namespace $rootnamespace$.App_Start {
    public static class McKearney_BundlingTweaks{
        public static void PostStart() {

            // By Default, BundleTweaks will test removing ".min" and adding ".debug" to 
            // find non-minified Javascript and CSS.

            // If you need to, add any additional extension replacements here:
            // TweakSettings.ExtensionReplacements.Add(".minified", string.Empty);
            // TweakSettings.ExtensionReplacements.Add(string.Empty, ".pretty");
            // TweakSettings.ExtensionReplacements.Add(".release, ".debug");

            // To See Trace output, uncomment the next line
            // TweakSettings.EnableTraceOutput = true;

            // NOTE: this will not help if you're adding/removing Bundles on the fly.
            BundleTable.Bundles.DisableMinify();
        }
    }
}
#endif